﻿namespace Beehive_Management_System
{
    class Bee
    {
        public Bee(double weidth)
        {
            this.weidth = weidth;
        }

        public virtual int ShiftsLeft { get; set; }
        private double weidth;

        public virtual double GetHoneyConsumption()
        {
            double consumption;

            if (ShiftsLeft == 0)
            {
                consumption = 7.5;
            }
            else
            {
                consumption = 9 + ShiftsLeft;
            }

            if (weidth > 150)
            {
                consumption *= 1.35;
            }

            return consumption;
        }
    }
}
